<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui"
                template="/WEB-INF/template.xhtml">

    <ui:define name="head">
        <script type="text/javascript">
            function skinRadarChart() {
                Chart.defaults.global.startAngle = 36;
                Chart.defaults.global.tooltips.cornerRadius = 3;
                Chart.defaults.global.tooltips.enabled = true;
                Chart.defaults.global.tooltips.mode = 'point';
                Chart.defaults.global.tooltips.position = 'nearest';
            }
        </script>
    </ui:define>
    
    <ui:define name="title">
        Charts - <span class="subitem">Radar</span>
    </ui:define>

    <ui:define name="description">
        RadarChart is created with a RadarChartModel.
    </ui:define>

    <ui:param name="documentationLink" value="/components/charts?id=radarchart" />

    <ui:define name="implementation">
        <div class="ui-g">
            <div class="ui-lg-6 ui-g-12">
                <p:radarChart model="#{chartJsView.radarModel}"/>
            </div>
            <div class="ui-lg-6 ui-g-12">
                <p:radarChart model="#{chartJsView.radarModel2}"/>
            </div>
        </div>
    </ui:define>

</ui:composition>